package com.project.collectAPI.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.Date;

/**
 * (Users)表实体类
 *
 * @author makejava
 * @since 2023-03-06 21:47:21
 */
@Data
@JsonIgnoreProperties(allowSetters = true, value = {"wxopenid","unionid"})
public class Users extends extendField {
    
    private Integer id;
    
    private String headimg;

    @JsonIgnore
    private String wxopenid;

    @JsonIgnore
    private String unionid;
    
    private String usex;

    private String ubirth;
    
    private String uage;
    
    private String uheight;
    
    private String uweight;
    //真实姓名
    private String urealname;
    //身份证
    private String uidcard;
    //手机号码
    private String uphone;
    //紧急联系人
    private String emgphone;
    //紧急联系人关系
    private String emgrelationship;
    //收缩压
    private String sbloodpressure;
    //舒张压
    private String dbloodpressure;
    //心率
    private String heartrate;
    //血氧
    private String bloodoxygen;
    //血糖
    private String bloodsugar;
    //有吸烟史,有喝酒史
    private String diseasestr;
    //描述
    private String descriptionstr;

    //加入组id
    private int groupdataid;

    //添加此注解，可以设置字段为null
    @TableField( updateStrategy = FieldStrategy.IGNORED)
    //医生id-groupid  1-2
    private String groupname;

    //纬度
    private String lat;

    //经度
    private String lng;

    //是否显示
    private Integer isshow;
    
    private Date createtime;

    @TableField(exist = false)
    private String logincode;


}

